@layout("/common/_container.html"){
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/doctor.css?v=20200628" rel="stylesheet">
<div class="ibox float-e-margins " style="height: 100%">
    <div class="ibox-content" id="addVisitedInfoForm" style="height: 100%;padding: 0;">
        <div id="isDealInfoForm" style="height: 100%">
            <div style="display: none">
                <input id="arrears" value="0">
                <input type="hidden" id="sortMap" value="">
                <input type="hidden" id="id" value="${consultantInfo.id}">
                <input type="hidden" id="customerId" value="${customerId}">
                <input type="hidden" id="reservationsId" value="${consultantInfo.reservationsId}">
                <input type="hidden" id="userName" value="${userName}">
                <input type="hidden" id="customerName" value="${consultantInfo.customerName}">
                <input type="hidden" id="roleNameLogin" value="${roleNameLogin}">
                <input type="hidden" id="dealyesLogin" value="${dealyesLogin}">
                <input type="hidden" id="tabId" value="${tabId}">
                <input type="hidden" id="arrivalStore" value="${consultantInfo.arrivalStore}">
                <input type="hidden" id="customerStatus" value="${consultantInfo.customerStatus}">
                <input type="hidden" id="storeValue" value="${storeValue}">
                <input type="hidden" id="doctorValue" value="${doctorValue}">
                <input type="hidden" id="iconType" value="">
                <input type="hidden" id="finnallyTime" value="">
                <input type="hidden" id="payServiceId" value="">
                <input type="hidden" id="remarks" value="">
                <input type="hidden" id="isDorj" value="ys">
                <input type="hidden" id="isRefundAdminValue" value="${isRefundAdmin}">
            </div>
            <div class="doctorHeader">
                <span style="font-size: 1.5em;font-weight: bolder;">${consultantInfo.customerName}</span>
                <span>${consultantInfo.customerAge}</span>
                <span>
                    <select id="customerSex" disabled="disabled" name="customerSex">
                        <option value="${consultantInfo.customerSex}">${consultantInfo.sex}</option>
                        <option value="1">男</option>
                        <option value="2">女</option>
                    </select>
                </span>
                <span>电话：${consultantInfo.customerPhone}</span>
                <span>病历：${consultantInfo.medicalRecordNumber}</span>
                <span>现场TC：${consultantInfo.fieldTc}</span>
                <span>医生：${consultantInfo.doctor}</span>
                <span><button class="btn returnBtn" type="button" style="right: 120px;" onclick="subsequent('${customerId}')">新建预约</button></span>
                <span><button class="btn returnBtn" type="button" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">返回上一级</button></span>
            </div>
            <div class="doctorContent">
                <div class="nav_table" id="consultantInfoForm">
                    <ul class="nav nav-tabs nav_ul" role="tablist" id="navBox">
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#home" aria-controls="home">患者信息</a></li>
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#profile" aria-controls="profile">病历</a></li>
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#messages" aria-controls="messages">影像</a></li>
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#settings" aria-controls="settings">随访</a></li>
                        <li role="presentation" class="active onRecord"><a href="#examination" aria-controls="examination" role="tab" data-toggle="tab">看诊记录</a></li>
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#settingstc" aria-controls="settingstc">咨询回访</a></li>
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#visit" aria-controls="visit">就诊记录</a></li>
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#charge" aria-controls="charge">收费记录</a></li>
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#messages1" aria-controls="messages1">补牙评分</a></li>
                        @if(shiro.hasPermission("/downLoad_no")){
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#messages2" aria-controls="messages2">正畸评分</a></li>
                        @}
                        <li role="presentation"><a role="tab" data-toggle="tab" href="#messages3" aria-controls="messages3">根管评分</a></li>
                    </ul>
                    <div class="tab-content content_box" id="contentBox">
                        <div role="tabpanel" class="tab-pane" id="home" >
                            @layout("/tcCenter/consultant/consultant_informationed.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="profile">
                            @layout("/doctorLooked/caseInfoPage.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="messages">
                            @layout("/doctorLooked/upload_icon.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="settings">
                            @layout("/doctorLooked/doctor_follows.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane active onRecord" id="examination">
                            @layout("/tcCenter/consultant/doctor_openBill.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="settingstc">
                            @layout("/tcCenter/consultant/tc_followsdoctorlook.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="visit">
                            <div class="home_box" style="padding: 10px 10px 0;">
                                <div id="doctorDiagnosisInfoTitle" style="position: absolute;top: 60%;left: 50%;transform: translate(-50%,-50%);"></div>
                                <div style="height: 100%;background: white;padding: 12px 20px;">
                                    <#sortVisitDetail id="sortVisitDetail" list="${doctorDiagnosisInfo}"/>
                                </div>
                            </div>
                        </div>
                        <div role="tabpanel" class="tab-pane" id="charge">
                            @layout("/tcCenter/consultant/consultant_chargeDetails.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="messages1" >
                            @layout("/doctorLooked/upload_icons.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="messages2" >
                            @layout("/doctorLooked/upload_icon2.html"){
                            @}
                        </div>
                        <div role="tabpanel" class="tab-pane" id="messages3" >
                            @layout("/doctorLooked/upload_icon3.html"){
                            @}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@layout("/common/_bigimg.html"){
@}
<script src="${ctxPath}/static/modular/qualityAssurance/upload_icons.js?v=20200628"></script>
<script src="${ctxPath}/static/modular/doctorLooked/doctor_seeDiagnosis.js?v=20200628"></script>
@}